<div ng-include src="'tpl/public/header.html'"></div> 
<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li><a href="#/company/list">信托公司</a></li>
    <li class="active">订阅列表</li>
  </ol>
  <form class="form-inline search-box" role="form" ng-submit="search()" novalidate>
    <div class="form-group">
      <label class="sr-only" >公司名称</label>
      <input type="text" class="form-control" placeholder="公司名称" ng-model="searchMap.cName">
    </div> 
    <button type="submit" class="btn btn-default">查询</button>
  </form>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th>公司名称</th>
        <th width="200">订阅邮箱</th>
        <th width="150">订单用户</th>
        <th width="150">订阅时间</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="company in companys">
        <td><a href="#/company/view?id={{company.subId}}">{{company.subName}}(ID:{{company.subId}})</a></td>
        <td>{{company.subMail}}</td>
        <td><span ng-if="company.createBy!='system'">{{company.loginName}}</span></td>
        <td>{{company.createDate | date:'yyyy-MM-dd'}}</td>
      </tr>
    </tbody>
  </table>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="companys.length > 0"></div>
</div>


